function yd = yd_vector(x, p)
a = getrobotparameter('a');
y_d1 = yd1_sca(x, p, a);
y_d2 = yd2_vec(x, p, a);

yd = [y_d1; y_d2];

end